package com.itheima.service;

import com.itheima.domain.Member;

import java.util.List;

/**
 * @PackageName: com.itheima.service
 * @ClassName: MemberService
 * @Author: Solomon
 * @Date: 2020/7/14 2:18
 * @Description:
 */
public interface MemberService {
    //根据手机号查询当前用户是否为会员
    Member findByTelephone(String telephone);

    //新增会员信息
    void addMember(Member member);

    //根据月份查询会员数量
    List<Integer> findMemberCountByMonth(List<String> months);
}
